home *** CD-ROM | disk | FTP | other *** search
/ CyberMycha 2008 January / Cybermycha 1_2008.iso / ProgramFilesFolder / Data / Menu / uidef / horizontalListbox.def < prev    next >
Encoding:
Text File  |  2004-03-03  |  7.8 KB  |  281 lines

  1. !Include("UI.def")
  2.  
  3. ControlObject("UIHorizontalListBox","HorizontalListBox","Pattern")
  4. {
  5.     ListBoxCapacity(9)
  6.     Command(1)
  7.     Notify(1)
  8.     CanFocus(1)
  9.     TextureFocusAlpha(1.0)
  10.     TextFocusAlpha(1.0)
  11.     SelKeyUp(0)
  12.     SelKeyDown(0)
  13.     Text("")
  14.     TextAlpha(1.0)
  15.     TextColor(1.0,1.0,1.0)
  16.     Font("MSSansSerif8")
  17.     TextPosFlags(34)
  18.     PatternFile("../uidef/horizontalListbox.def")
  19.     Mouse(1)
  20.     Keyboard(1)
  21.     Joy(0)
  22.     Visible(1)
  23.     ParentPositioning(1)
  24.     PreviousElemPositioning(0)
  25.     ParentCenteringX(0)
  26.     ParentCenteringY(0)
  27.     ParentSizingX(1)
  28.     ParentSizingY(1)
  29.     TextureAlpha(1.0)
  30.     LogicSize(720.0,1.0)
  31.     LogicPos(0.0,0.0)
  32.  
  33.     Menu("UIMenu","ID_LIST","Specific")
  34.     {
  35.         Command(1)
  36.         Notify(1)
  37.         CanFocus(1)
  38.         TextureFocusAlpha(1.0)
  39.         TextFocusAlpha(1.0)
  40.         SelKeyUp(0)
  41.         SelKeyDown(0)
  42.         Text("")
  43.         TextAlpha(1.0)
  44.         TextColor(1.0,1.0,1.0)
  45.         Font("MSSansSerif8")
  46.         TextPosFlags(34)
  47.         PatternFileElem()
  48.         Mouse(1)
  49.         Keyboard(1)
  50.         Joy(0)
  51.         Visible(1)
  52.         ParentPositioning(1)
  53.         PreviousElemPositioning(0)
  54.         ParentCenteringX(0)
  55.         ParentCenteringY(1)
  56.         ParentSizingX(1)
  57.         ParentSizingY(1)
  58.         TextureAlpha(1.0)
  59.         LogicSize(1.0,1.0)
  60.         LogicPos(0.0,0.0)
  61.  
  62.         MenuButton("UIButtonWithBackground","ID_BUTTON","","","Specific")
  63.         {
  64.             Checked(0)
  65.             Disabled(0)
  66.             CanCallPress(0)
  67.             CanCheck(1)
  68.             MouseLeaveDestroyFocus(1)
  69.             CheckSound("data/sounds/click")
  70.             TextureCheckedRect("P_Background.png",1024.0,1024.0,895.0,17.0,900.0,22.0)
  71.             TextureCheckedAlpha(1.0)
  72.             TextCheckedAlpha(1.0)
  73.             TextureDisabledAlpha(1.0)
  74.             TextDisabledAlpha(1.0)
  75.             TextureFocusCheckAlpha(1.0)
  76.             TextFocusCheckAlpha(1.0)
  77.             TextCheckedColor(1.0,1.0,1.0)
  78.             CallPressPeriod(0.1)
  79.             DoubleClick(0.3)
  80.             Command(1)
  81.             Notify(0)
  82.             CanFocus(0)
  83.             TextureFocusAlpha(1.0)
  84.             TextFocusAlpha(1.0)
  85.             TextHighLightColor(1.0,1.0,1.0)
  86.             SelKeyUp(0)
  87.             SelKeyDown(0)
  88.             FocusSound("data/sounds/highlight")
  89.             Text("")
  90.             TextAlpha(1.0)
  91.             TextColor(1.0,1.0,1.0)
  92.             Font("Hud29")
  93.             TextPosFlags(68)
  94.             PatternFileElem()
  95.             Mouse(1)
  96.             Keyboard(1)
  97.             Joy(0)
  98.             Visible(0)
  99.             ParentPositioning(1)
  100.             PreviousElemPositioning(0)
  101.             ParentCenteringX(0)
  102.             ParentCenteringY(1)
  103.             ParentSizingX(0)
  104.             ParentSizingY(0)
  105.             FrameCornerSize(2,2)
  106.             TextureAlpha(1.0)
  107.             LogicSize(0.1,0.14)
  108.             LogicPos(0.0,-41.5)
  109.         }// [UIButtonWithBackground] ID_BUTTON
  110.     }// [UIMenu] ID_LIST
  111.  
  112.     ControlObject("UIListBoxScrollBar","ID_SCROLL","Specific")
  113.     {
  114.         Command(1)
  115.         Notify(1)
  116.         CanFocus(0)
  117.         TextureFocusAlpha(1.0)
  118.         TextFocusAlpha(1.0)
  119.         SelKeyUp(0)
  120.         SelKeyDown(0)
  121.         Text("")
  122.         TextAlpha(1.0)
  123.         TextColor(1.0,1.0,1.0)
  124.         Font("MSSansSerif10")
  125.         TextPosFlags(34)
  126.         PatternFileElem()
  127.         Mouse(1)
  128.         Keyboard(1)
  129.         Joy(0)
  130.         Visible(1)
  131.         ParentPositioning(1)
  132.         PreviousElemPositioning(0)
  133.         ParentCenteringX(0)
  134.         ParentCenteringY(1)
  135.         ParentSizingX(0)
  136.         ParentSizingY(0)
  137.         TextureAlpha(1.0)
  138.         LogicSize(0.04,0.26666668)
  139.         LogicPos(0.9097222,-79.50001)
  140.  
  141.         Button("UIButton","ID_THUMB","","Specific")
  142.         {
  143.             Checked(0)
  144.             Disabled(0)
  145.             CanCallPress(0)
  146.             CanCheck(0)
  147.             MouseLeaveDestroyFocus(1)
  148.             CheckSound("data/sounds/click")
  149.             TextureCheckedRect("p_menu.png",1024.0,1024.0,885.0,438.0,905.0,469.0)
  150.             TextureCheckedAlpha(1.0)
  151.             TextCheckedAlpha(1.0)
  152.             TextureDisabledAlpha(1.0)
  153.             TextDisabledAlpha(1.0)
  154.             TextureFocusCheckAlpha(1.0)
  155.             TextFocusCheckAlpha(1.0)
  156.             CallPressPeriod(0.1)
  157.             DoubleClick(0.3)
  158.             Command(1)
  159.             Notify(1)
  160.             CanFocus(0)
  161.             TextureFocusAlpha(1.0)
  162.             TextFocusAlpha(1.0)
  163.             SelKeyUp(0)
  164.             SelKeyDown(0)
  165.             FocusSound("data/sounds/highlight")
  166.             Text("")
  167.             TextAlpha(1.0)
  168.             TextColor(1.0,1.0,1.0)
  169.             Font("MSSansSerif10")
  170.             TextPosFlags(34)
  171.             PatternFileElem()
  172.             Mouse(1)
  173.             Keyboard(1)
  174.             Joy(0)
  175.             Visible(0)
  176.             ParentPositioning(1)
  177.             PreviousElemPositioning(0)
  178.             ParentCenteringX(1)
  179.             ParentCenteringY(0)
  180.             ParentSizingX(0)
  181.             ParentSizingY(0)
  182.             TextureRect("p_menu.png",1024.0,1024.0,885.0,438.0,905.0,469.0)
  183.             TextureAlpha(1.0)
  184.             LogicSize(0.025,0.038333334)
  185.             LogicPos(0.1875,1.4687499)
  186.         }// [UIButton] ID_THUMB
  187.     }// [UIControlObject] ID_SCROLL
  188.  
  189.     Button("UIButton","ID_UP","","Specific")
  190.     {
  191.         Checked(0)
  192.         Disabled(0)
  193.         CanCallPress(0)
  194.         CanCheck(0)
  195.         MouseLeaveDestroyFocus(1)
  196.         CheckSound("data/sounds/click")
  197.         TextureCheckedAlpha(1.0)
  198.         TextCheckedAlpha(1.0)
  199.         TextureDisabledAlpha(1.0)
  200.         TextDisabledAlpha(1.0)
  201.         TextureFocusCheckAlpha(1.0)
  202.         TextFocusCheckAlpha(1.0)
  203.         CallPressPeriod(0.1)
  204.         DoubleClick(0.3)
  205.         Command(1)
  206.         Notify(1)
  207.         CanFocus(1)
  208.         TextureHighlightID("ArrowBigLeft")
  209.         TextureFocusAlpha(1.0)
  210.         TextFocusAlpha(1.0)
  211.         SelKeyUp(0)
  212.         SelKeyDown(0)
  213.         FocusSound("data/sounds/highlight")
  214.         Text("")
  215.         TextAlpha(1.0)
  216.         TextColor(1.0,1.0,1.0)
  217.         TextPosFlags(34)
  218.         PatternFileElem()
  219.         Mouse(1)
  220.         Keyboard(1)
  221.         Joy(0)
  222.         Visible(1)
  223.         ParentPositioning(1)
  224.         PreviousElemPositioning(0)
  225.         ParentCenteringX(0)
  226.         ParentCenteringY(1)
  227.         ParentSizingX(0)
  228.         ParentSizingY(0)
  229.         TextureID("ArrowBigLeft")
  230.         TextureAlpha(0.8)
  231.         LogicSize(0.02875,0.14666666)
  232.         LogicPos(-0.040277775,-43.5)
  233.     }// [UIButton] ID_UP
  234.  
  235.     Button("UIButton","ID_DOWN","","Specific")
  236.     {
  237.         Checked(0)
  238.         Disabled(0)
  239.         CanCallPress(0)
  240.         CanCheck(0)
  241.         MouseLeaveDestroyFocus(1)
  242.         CheckSound("data/sounds/click")
  243.         TextureCheckedAlpha(1.0)
  244.         TextCheckedAlpha(1.0)
  245.         TextureDisabledAlpha(1.0)
  246.         TextDisabledAlpha(1.0)
  247.         TextureFocusCheckAlpha(1.0)
  248.         TextFocusCheckAlpha(1.0)
  249.         CallPressPeriod(0.1)
  250.         DoubleClick(0.3)
  251.         Command(1)
  252.         Notify(1)
  253.         CanFocus(1)
  254.         TextureHighlightID("ArrowBigRight")
  255.         TextureFocusAlpha(1.0)
  256.         TextFocusAlpha(1.0)
  257.         SelKeyUp(0)
  258.         SelKeyDown(0)
  259.         FocusSound("data/sounds/highlight")
  260.         Text("")
  261.         TextAlpha(1.0)
  262.         TextColor(1.0,1.0,1.0)
  263.         TextPosFlags(34)
  264.         PatternFileElem()
  265.         Mouse(1)
  266.         Keyboard(1)
  267.         Joy(0)
  268.         Visible(1)
  269.         ParentPositioning(1)
  270.         PreviousElemPositioning(0)
  271.         ParentCenteringX(0)
  272.         ParentCenteringY(1)
  273.         ParentSizingX(0)
  274.         ParentSizingY(0)
  275.         TextureID("ArrowBigRight")
  276.         TextureAlpha(0.8)
  277.         LogicSize(0.02875,0.14666666)
  278.         LogicPos(1.0083333,-43.5)
  279.     }// [UIButton] ID_DOWN
  280. }// [UIHorizontalListBox] HorizontalListBox
  281.